﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace XuanXiang.Infrastructure.Dto.Request.Merchant
{
    public class CarDetails_Dto
    {
        /// <summary>
        /// 详情id
        /// </summary>
        public string? id { get; set; }

        /// <summary>
        /// 商品id
        /// </summary>
        public string? gid { get; set; }

        /// <summary>
        /// 商品价格
        /// </summary>
        public double? price { get; set; }

        /// <summary>
        /// 商品数量
        /// </summary>
        public int? number { get; set; }

        /// <summary>
        /// 商品名称
        /// </summary>
        public string? name { get; set; }

        /// <summary>
        /// 商品图片
        /// </summary>
        public string? photo { get; set; }

        /// <summary>
        /// 商品描述
        /// </summary>
        public string? explain { get; set; }

        /// <summary>
        /// 供应商id
        /// </summary>
        public string? s_id { get; set; }

        /// <summary>
        /// 购物车数量
        /// </summary>
        public int? carCount { get; set; }

        /// <summary>
        /// 供应商名
        /// </summary>
        public string? supplier { get; set; }

        /// <summary>
        /// 规格
        /// </summary>
        public string? specs { get; set; }

        /// <summary>
        /// 是否上架
        /// </summary>
        public int? isShelve { get; set; }

        /// <summary>
        /// 活动价格
        /// </summary>
        public double? promotePrice { get; set; }

        /// <summary>
        /// 库存
        /// </summary>
        public int? inventory { get; set; }

        /// <summary>
        /// 生产日期
        /// </summary>
        public string? birthday { get; set; }
        
        /// <summary>
        /// 保质期
        /// </summary>
        public string? expiryDate { get; set; }
    }
}
